package com.example.yunJie.digitalSentry.service;



import com.example.yunJie.digitalSentry.entity.ClockEntity;

import java.io.Serializable;
import java.text.ParseException;
import java.util.List;

public interface ClockService {
    int insert(ClockEntity clockEntity);


    int update(ClockEntity clockEntity);


    int deleteById(Serializable id);


    int deleteIdList(List<Integer> idList);


    ClockEntity findId(Serializable id);


    List<ClockEntity> findAll(ClockEntity clockEntity) throws ParseException;

    ClockEntity findAllByPersonalNameAndClockingTime(ClockEntity clockEntity);

    List<ClockEntity> findByPersonalNameAndDate(String personal,String date);
}
